package com.smmisia.common.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 删除状态枚举
 */
@Getter
public enum DeletedEnum {

    IS_UNDELETED(0, "未删除"),
    IS_DELETED(1, "已删除");


    @EnumValue
    private final Integer code;

    private final String message;


    DeletedEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
